import axios from 'axios'

export function getPostList(param) {
  // const url = '/api/getPostList'
  const url = '/api/bg/articles'
  // const data = Object.assign({}, {
  //   'currentPage': '1'
  // })
  return axios.post(url, param).then((res) => {
    return Promise.resolve(res.data)
  })
}